package com.fqgj.sentry.policy.server.policy.data;

import java.util.List;

/**
 * Created by kennykong on 2017/7/15.
 */
public class Weight {

    /**
     * 权重表达式
     */
    String weightExpression;

    /**
     * 变量名
     */
    String variable;

    /**
     * 参数
     */
    List<Object> params;

    public Weight() {
    }

    public Weight(String weightExpression, String variable, List<Object> params) {
        this.weightExpression = weightExpression;
        this.variable = variable;
        this.params = params;
    }

    public String getWeightExpression() {
        return weightExpression;
    }

    public Weight setWeightExpression(String weightExpression) {
        this.weightExpression = weightExpression;
        return this;
    }

    public String getVariable() {
        return variable;
    }

    public Weight setVariable(String variable) {
        this.variable = variable;
        return this;
    }

    public List<Object> getParams() {
        return params;
    }

    public Weight setParams(List<Object> params) {
        this.params = params;
        return this;
    }


}
